home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 081 / binkommm.arc / BINKOMMM.TXT
Encoding:
Text File  |  1987-11-02  |  14.8 KB  |  333 lines

  1. NOTE: This was originally written for Opus. Any mention of Opus is 
  2. interchangeable with BinkleyTerm.
  3.  
  4.  
  5.  
  6. When  Fido came out, Tom Jennings had this basic idea about  mail 
  7. that said that when the system runs mail, it ONLY runs mail, when 
  8. humans can use the BBS, then ONLY humans can use the BBS. The two 
  9. were always separate.  In order to work this required the cooper-
  10. ation  of  all  the people involved to make sure  that  they  all 
  11. agreed  on the minimum time to run mail and what part of the  day 
  12. that  would be, hence we have National Mail Hour.  As  mail  load 
  13. increased the idea was simply that National Mail Hour (also known 
  14. as  NMH) would just become National Mail 90 minutes, or  whatever 
  15. was necessary.
  16.    
  17. The  basic problem with this idea was that for systems  that  ran 
  18. just a little mail, they had to block out human users for  longer 
  19. periods  of  times  than what they wanted to,  while  those  that 
  20. handled a lot of mail never seemed able to get things done.
  21.  
  22. Thom Henderson, President of Systems Enhancements Associates  had 
  23. a  slightly different philosophy on how to handle a  larger  mail 
  24. load.  Instead of each board trying to take care of itself,  mak-
  25. ing  its  own calls, we should have routing and Hosts  and  Hubs.  
  26. The basic idea was that by having a few boards collecting all the 
  27. mail,  sending  it to other boards that collected mail  and  then 
  28. distribute  whatever was coming into their Net, the overall  load 
  29. would be less.  
  30.  
  31. One board would forward its mail to a Hub, who forwards it  along 
  32. with  all the other mail from boards under that Hub,  to a  Host, 
  33. who forwards that along with the mail from other Hubs to  another 
  34. Host.   Mail coming into a Host would be distributed to the  Hubs 
  35. who would distribute it to the individual boards.  
  36.   
  37. Along  the main trunks, this is tremendously cost-effective.  But 
  38. further down the line there are problems.  For example if  you're 
  39. connected  to a Hub that is a long-distance call for you,  you're 
  40. generally expected to make that call every night just to check in 
  41. and  see if there's anything waiting after all the mail has  come 
  42. back  down  to  the Hub level.  Also mail is  overall  slower  in 
  43. distribution, and a few key boards have a tremendous load  placed 
  44. on them. 
  45.  
  46. There are also subtle problems, for example, your message can  be 
  47. read by every Sysop of every system along the way, and there  are 
  48. even programs that automatically copy your mail for later reading 
  49. by  the Sysop after its been forwarded.  Another problem is  that 
  50. with  Jennings  idea you just lock out humans for  longer  times, 
  51. while with Henderson's idea you still are locking out humans  for 
  52. longer periods, but now you're doing it in separate blocks  which 
  53. can be even more frustrating for people because once they finally 
  54. get  on the board, they only have a few minutes  access.  Another 
  55. point  here  is that the only software  that  can   automatically 
  56. handle  this set up costs  $100 and is sold by  Systems  Enhance-
  57. ments Associates. 
  58.  
  59.  
  60.  
  61.  
  62.  Now  along comes Wynn Wagner and OPUS.  He has a  very  different 
  63. idea  about how to handle increasing mail loads.  First  off,  we 
  64. should  notice that the most ANY computer bulletin board  is  ac-
  65. tually busy is about 80% of the time. Why not handle mail  during 
  66. that  20% free time?  Largely the answer was, no one  knows  when 
  67. that 20% will be. But consider this, if two boards are trying  to 
  68. send  mail  to each other, and if each board is busy 80%  of  the 
  69. time, they're both free 20% of the time.  Just the random chances 
  70. of  both systems being free at the same time will actually be  4% 
  71. of  the day, (20% of 20% is 4%), sounds like a pretty low  chance 
  72. right?  Well, there are 1440 minutes in a day, so four percent of 
  73. that is 57.6 minutes, a pretty substantial window.  
  74.    
  75. In  order to use this window though, both boards have to be  able 
  76. to  send  or receive all the time so that whenever  that  4%  is, 
  77. we're ready for it.  The mail has to be all packaged and ready to 
  78. go just in case.  
  79.  
  80. In  order to be cost-effective though, we have to be able to  re-
  81. strict when to place outbound calls to times when the phone rates 
  82. are lowest.  And there may be other considerations such as trying 
  83. to  call just after another board has picked up an  echo,  rather 
  84. than just before. Or we might have a free outbound host that will 
  85. forward  mail, so we need to get our mail there just before  that 
  86. host makes their outbound calls so our messages don't sit on  his 
  87. board 24 hours waiting to go out.
  88.    
  89.  
  90. I  hope  you've noticed that we're talking about  two  distinctly 
  91. different problems:
  92.  
  93.           1:   Always have all the mail ready to be forwarded.
  94.           2:   Control when to make outbound calls.
  95.  
  96. And  in  OPUS  they're handled  completely  separately,  OMMM.EXE 
  97. bundles  up  mail making it ready to go out, and  OPUS,  using  Z 
  98. events in SCHED.BBS controls when to make the calls. 
  99.  
  100. That's been a very hard idea for some people to grasp in changing 
  101. over from Fido or SEAdog to OPUS.  In SEAdog especially, how mail 
  102. was  bundled was controlled by the same program  that  controlled 
  103. when calls were to be made.  OPUS uses two separate programs with 
  104. separate controls.  So let's examine that a little more.
  105.    
  106. OMMM uses a control file and command line switches to tell it HOW 
  107. to bundle mail whenever its run.  It NEVER knows what time it is, 
  108. it doesn't know anything about SCHED.BBS, it only knows about the 
  109. control file and the command line. 
  110.   
  111.  
  112.  
  113.  
  114.  
  115. OPUS  knows what time it is, and what is listed in SCHED.BBS  and 
  116. what  is  in  the outbound mail directory, but  it  doesn't  know 
  117. anything  about  routing  or  why a particular  file  is  in  the 
  118. outbound directory. 
  119.  
  120. Note: Matrix Messages that are entered with special flags such as 
  121. Hold,  Crash, or file-attach, will override OMMM's  commands  for 
  122. only  those messages. You can enter a Hold message, a Crash  mes-
  123. sage  and a normal message into your matrix message area for  the 
  124. same board and OMMM will handle each one differently.
  125.  
  126. How should they be used together to get what you want?  I'll show 
  127. you my control file, schedule and batch files and try to  explain 
  128. why  I'm doing things a certain way and hopefully you'll  gain  a 
  129. greater insight into how to use OPUS 1.XX.
  130.   
  131. Whenever  a person enters a message in the matrix area, or in  an 
  132. echo  area, or mail comes in (after tossing any echoes),  I  have 
  133. OPUS  exit after scanning for outbound echomail to my batch  file 
  134. where this section of the batch file is executed:
  135.   
  136. ommm -hC:\opus\outbound -CC:\opus\misc\contfile.lst -sa 
  137.      -iopus100.prm -mc:\opus\msgs\email
  138.  
  139. That  is  actually  all  one line, it just  won't  fit  into  the 
  140. NOOSELETTER  on a single line.  Notice the '-sa'  especially,  it 
  141. tells  OMMM  to use the commands starting at the line  that  says 
  142. 'SCHED A' in the control file, (-CC:\opus\misc\contfile.lst)  and 
  143. ending  with the next entry that has a 'SCHED' in it in the  con-
  144. trol file.  That section of the control file is:
  145.   
  146. ;
  147. SCHED A
  148. ;
  149. onecm 119/13 129/26 119/30 119/4 119/14 124/111
  150. ;
  151. onehold 161/34 120/5 114/14 12/1 109/612 119/42 
  152. onehold 383/0 138/41 114/15 17/43 161/1
  153. ;
  154. arcdirect 119/13 101/301
  155. arcdirect 107/511
  156. ;
  157. archold 10/215 others
  158. ;
  159.  
  160. What's going on here?   Let's look this over section by section.
  161.  
  162.      onecm 119/13 119/30 119/4 119/14 124/111 129/26 
  163.  
  164. I  want  send  all the local mail as crash  since  they  are  all 
  165. running  OPUS  and can handle the mail as soon as  it  comes  in. 
  166. Costs  aren't going to be any trouble here as all the  boards  in 
  167. Net  119 are in Chico.  I don't always have mail for  124/111  or 
  168. 129/26  but I want it to go out as soon as I have some for  them. 
  169. Primarily  I'm  sending out messages in specialized  echoes  that 
  170. users don't have access to and that I get my mail to them is more 
  171. important than the costs involved. 
  172.  
  173.  
  174.  
  175.  
  176.      onehold 161/34 120/5 114/14 12/1 109/612 119/42 
  177.      onehold 383/0 138/41 114/15 17/43 161/1
  178.  
  179. The boards on the first line are boards I never call. They always 
  180. call me (119/42 is the lone true Fido board in ChicoNet) to  pick 
  181. up mail, primarily I'm accumulating messages in echoes for them. 
  182.  
  183. The  second line is a list of boards that I have to Poll at  some 
  184. time  each  day for echoes.  So why am I putting  their  messages 
  185. into  HOLD archives?  Because I accumulate mail for those  boards 
  186. 24  hours, but I don't want to call every time I get a  new  mes-
  187. sages  for them, I really only want to place one call  each  day, 
  188. and I especially want to avoid calling them during NMH. I'll  get 
  189. back to them later on when I set up to do the Poll.
  190.  
  191.      arcdirect 119/13 101/301
  192.      arcdirect 107/511
  193.  
  194. I  have  a problem with 119/13. It participates in an  echo  back 
  195. east with 101/301.  For some reason though he sometimes sends  me 
  196. his  echomail  as regular mail. Now I've got  an  arrangement  to 
  197. forward  regular mail to a free outbound host on two  conditions, 
  198. first it has to be for a board inside the US, and second it can't 
  199. be  echomail.  The Sysop of 119/13 doesn't believe it happens  so 
  200. I've set up my OMMM control file to automatically shoot mail  for 
  201. that board back to him.  The mail for 107/511 is an echo, but for 
  202. some  reason that board wants to handle it only during NMH  so  I 
  203. archive it together as regular mail.
  204.  
  205.      Archold 10/215 others
  206.  
  207. 10/215 is my outbound host. He is willing to forward my  outbound 
  208. mail  for free so long as it is for boards in the US and I  don't 
  209. load  him down with echomail. He polls me every night before  NMH 
  210. to pick up anything that is waiting to go out.
  211.  
  212. This  schedule,  SCHED A, is used almost every time I  run  OMMM. 
  213. Even  if  I am going to run a different schedule I run  this  one 
  214. first to set up the mail area.
  215.  
  216. Once a day, at 8:00am I run the following schedule.  Its  purpose 
  217. is to set up my long distance Polls for echomail
  218.  
  219. SCHED C
  220. ;
  221. unhold 17/43 161/1 124/111 114/15 138/41
  222. normcm 114/15 124/111 17/43 161/1 138/41
  223. Poll 114/15 17/43 161/1 124/111 138/41
  224. onecm 114/15 124/111 17/43 161/1 124/111 138/41
  225. ;
  226.  
  227.  
  228.  
  229.  
  230. Again we'll go through this line-by-line.
  231.  
  232.      unhold 17/43 161/1 124/111 114/15 138/41
  233.  
  234. Almost  all the commands in OMMM will only function  on  "normal" 
  235. mail, mail in the outbound directory that has file extensions  of  
  236. and  DOSEND.   I'm using UNHOLD here to change  the  archives  to 
  237. "normal" so I can:
  238.  
  239.      normcm 114/15 124/111 17/43 161/1 138/41
  240.  
  241. Mark that mail as crash.  But suppose I don't happen to have  any 
  242. mail waiting for one or more of these boards? 
  243.  
  244.      Poll 114/15 17/43 161/1 124/111 138/41
  245.      onecm 114/15 124/111 17/43 161/1 124/111 138/41
  246.  
  247. I  have OMMM generate a Poll message for each board, and  I  have 
  248. ONECM change that to a crash message. 
  249.  
  250. Now for the odd part, why do I do this at 8:00am? 
  251.  
  252. At  8:00am I have OPUS change to Local-Only, telling it  to  only 
  253. call  boards  that are free calls. So although I have  all  these 
  254. message  sitting there marked as Crash, OPUS won't make any  out-
  255. bound  calls for them until 10:00p.m. when the phone  rates  drop 
  256. back  down.   I could run this at any time of the  day,  but  the 
  257. morning  seems  to  be  the time  to  have  this  happen  without 
  258. interfering  with my human users, and  the actual purpose  I  run 
  259. the board is for the human users, so 8:00am is when I run this.
  260.  
  261. I run one other OMMM schedule each day. This one runs 20  minutes 
  262. before NMH and is to Poll one particular board at one  particular 
  263. time.
  264.  
  265. SCHED F
  266. Poll 383/0
  267. normcm 383/0
  268.  
  269. This is actually doing the same thing as SCHED C except that  I'm 
  270. only  running it for one single board that I have a  special  ar-
  271. rangement  with  that I will call at this time and  not  earlier. 
  272. Notice  that  I  don't have the UNHOLD/ARCCM  commands  in  the 
  273. schedule.  Actually I don't need it in SCHED C because once  OPUS 
  274. makes  a connection with another board, it gives that  board  ALL 
  275. the mail that is waiting for it, However there is an advantage to 
  276. the way things are being done in SCHED C over this method. If the 
  277. call goes through but we don't get a good connection I may not be 
  278. able to get the mail that's waiting for me during this call,  but 
  279. I've  "used up" my Poll and the outbound mail is still marked  as 
  280. HOLD. However in SCHED C where I've also marked the outbound mail 
  281. as  Crash  OPUS would keep trying until it actually gets  rid  of 
  282. everything that's waiting to go out. When this is run I have OPUS 
  283. change to Mail-Only so it doesn't interfere with my human users. 
  284.  
  285.  
  286.  
  287. Notes: by Butch Walker
  288.  
  289.     This piece was originally written by Doug Boone to explain how to 
  290. use OMMM with Opus. I have editied it to change to the Verbs used in 
  291. OMMM 1.07. It is assumed that those reading this document already 
  292. understand batch files used in operating bulletin boards specific to 
  293. their software. It is also assumed that you have already read the 
  294. docs with Binkley, and studied the sample Binkley.cfg.
  295.  
  296.     A couple of general comments. OMMM is a message bundler. It takes 
  297. the messages cretaed by Opus/Fido/Seadog/TBBS/ etc, and bundles them 
  298. into a Fidonet compatable packet or Arcmail file. The only way 
  299. BinkleyTerm will send out mail is if OMMM has been run to create the 
  300. bundles of mail for it to deliver. Think of BinkleyTerm as the 
  301. mailman. Creating a message on your system is like writing a letter 
  302. to someone. Until you put postage on it and drop it in the mail box 
  303. it's not going anywhere. As far as BinkleyTerm is concerned, an 
  304. outgoing message sitting in your mail area, hasn't been dropped in 
  305. the mailbox. It doesn't recognize it.
  306.  
  307.     OMMM is the Post Office. It picks up the mail from your mail box, 
  308. sorts it according to destination, and bundles it up based upon your 
  309. directions. Once bundled it is ready for delivery, and never has to 
  310. be unbundled or rebundled again. Just like a letter, once put in the 
  311. mail box, you don't see it again. It's not in a black hole somewhere, 
  312. just in the postal system waiting to be delivered to the mail box 
  313. it's destined for.
  314.  
  315.     Just remember the only way mail is bundled with BinkleyTerm is to 
  316. run OMMM. Be sure to modify your batch files accordingly. Also, 
  317. BinkleyTerm does not unbundle mail. You need Arcmail From All to do 
  318. that or Confmail Toss. Incoming Packets will go into your inbound 
  319. file area. Confmail Toss will handle that just fine. Arcmail from 
  320. requires those packets be in your directory that Arcmail resides. 
  321. Last but not least, OMMM must reside in the same directory as 
  322. BinkleyTerm AND OMMM and your Outbound area MUST be on the same 
  323. drive.
  324.  
  325.  
  326.                                    Doug Boone
  327.                                    119/5 119/0
  328.                                    (916) 893-9019
  329.  
  330. Edited by Butch Walker for OMMM 1.07 and BinkleyTerm
  331. 161/1
  332. 415-672-2504
  333.